package exercise.jslide.jslide.controller;

import exercise.jslide.jslide.view.EditorView;
import javafx.scene.layout.Pane;

public class TextController {
    private static EditorView editorView;

    public TextController( EditorView editorView) {
        this.editorView = editorView;
    }


    // 将textContainer添加到编辑器视图
    public static void addTextContainer(Pane textContainer) {
        editorView.getChildren().add(textContainer);
    }

}
